import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const paths = process.env.VUE_APP_PROJECT;
const routes = [
  {
    path: "/",
    name: "Home",
    component: () => import(`../project/${paths}/home/Index`),
  },
  {
    path: "/login",
    name: "Login",
    component: () => import(`../project/${paths}/account/Login`),
  },
];

const router = new VueRouter({
  routes,
});

export default router;
